package com.fjl.tomcat;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
public class TestController {
    public TestController() {
        System.out.println("aaaaaaaaa");
    }

    @RequestMapping("/test")
    public String test(){
        return "hello word!";
    }
}
